package com.xingmang.common.dto.admin;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

/**
 * @auther: hansom
 * @Version: 1.0
 * @create 2023/6/20 17:27
 */
@ApiModel("字典新增")
@Data
public class DicSaveDTO {
    @ApiModelProperty(value = "代码类别",required = true)
    @NotEmpty(message = "代码类别不能为空")
    private String dmlb;
    @ApiModelProperty(value = "代码值",required = true)
    @NotEmpty(message = "代码值不能为空")
    private String dmz;
    @ApiModelProperty(value = "代码名称",required = true)
    @NotEmpty(message = "代码名称不能为空")
    private String dmmc;
    @ApiModelProperty(value = "父代码值")
    private String fdmz;
}
